package com.ljy.myrule;

import com.netflix.loadbalancer.IRule;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author ljy
 * @create 2020-11-02-11:40
 */
@Configuration
public class LanRule {
    @Bean
    public IRule myRule() {
        return new LanRandomRule();
    }
}
